<div class="relative flex items-center mt-2">
    <button type="button" class="absolute right-0 focus:outline-none rtl:left-0 rtl:right-auto">
        <span class="pr-2" {{on 'click' @searchClick}}><T::Icon class="text-2xl" @icon="search"/></span>
    </button>

    <input type="text" name="{{@name}}" form="{{@form}}" placeholder="搜索关键字" class="block w-full py-2.5 text-gray-700 placeholder-gray-400/70 bg-white border border-gray-200 rounded-lg pl-5 pr-11 rtl:pr-5 rtl:pl-11 dark:bg-gray-900 dark:text-gray-300 dark:border-gray-600 focus:border-blue-400 dark:focus:border-blue-300 focus:ring-blue-300 focus:outline-none focus:ring focus:ring-opacity-40"/>
</div>